import type { FormSchema } from '@/components/core/schema-form/';
// import Api from '@/api/';
// import { findPath } from '@/utils/common';

export const roleSchemas: FormSchema<API.EventList>[] = [
  {
    field: 'eventName',
    component: 'Input',
    label: '事项名称',
  },
  {
    field: 'eventType',
    component: 'RadioGroup',
    label: '事件类型',
    defaultValue: 0,
    componentProps: {
      options: [
        {
          label: '帮办',
          value: 0,
        },
        {
          label: '代办',
          value: 1,
        },
      ],
    },
  },
];

